<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>

	<body>

		<input type="button" name="" id="" value="关闭" onclick="guanbi()" />
		<input type="button" name="" id="" value="打开新窗口" onclick="dakai()" />
		<script type="text/javascript">
			function guanbi() {
				close()

			}
			function dakai() {
				open("../万年历/index.html","名字");

			}
		</script>
	</body>

</html>